package zh.codegym.task.task05.task0517;

/* 
创建猫
*/

public class Cat {
    //在此编写你的代码
    private String name;
    private int weight;
    private int age;
    private String color;
    private String address;
    //在此编写你的代码

    public  Cat(String name){
        this.name = name;
        this.weight = 1;
        this.age = 1;
        this.color = "1";
    }

    public  Cat(String name,int weight,int age){
        this.name = name;
        this.weight = weight;
        this.age = age;
        this.color = "1";
    }

    public  Cat(String name, int age){
        this.name = name;
        this.age = age;
        this.color = "1";
        this.weight = 1;

    }

    public  Cat(int weight,String color){
        this.weight = weight;
        this.color = color;
        this.age = 1;
    }

    public  Cat(int weight,String color,String address){
        this.weight = weight;
        this.color = color;
        this.address = address;
        this.age = 1;
    }

    public static void main(String[] args) {

    }
}
